// 纯色弹框
<template>
  <Modal v-on:hidden="$emit('hidden')">
    <div class="modalBlue flexC flex1">
      <p class="btn-close" @click="$emit('hidden')">X</p>
      <div class="modalBlue_content">
        <slot></slot>
      </div>
    </div>
  </Modal>
</template>
<script>
import Modal from './Modal'
export default {
  name: 'ModalBlue',
  components: {
    Modal
  }
}
</script>
<style lang="scss" scoped>
.modalBlue{
  width: 90%;
  height: 90%;
  position: absolute;
  top: 5%;
  left: 5%;
  background: rgba(53, 89, 242, 1);
  border-radius: 10px;
  .btn-close {
    position: absolute;
    top: 2%;
    right: 1%;
    color:#fff;
    border:2px solid rgba($color: #ffffff, $alpha: 0.8);
    width:2.125rem;
    height:2.125rem;
    line-height:2.125rem;
    text-align:center;
    border-radius:50%;
    cursor:pointer;
  }
  .modalBlue_content {
    width: 100%;
    height: 100%;
  }
}
</style>
